package cn.iocoder.yudao.module.crm.controller.admin.fuelingrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 加油记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FuelingRecordPageReqVO extends PageParam {

    @Schema(description = "加油站")
    private String gasStation;

    @Schema(description = "车牌号")
    private String licensePlate;

    @Schema(description = "加油时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] fuelingTime;

    @Schema(description = "付款方式")
    private String paymentMethod;

    @Schema(description = "加油机编号")
    private String fuelingMachineNo;

    @Schema(description = "单价", example = "31175")
    private BigDecimal unitPrice;

    @Schema(description = "加油升数")
    private BigDecimal fuelingVolume;

    @Schema(description = "车牌照片")
    private String licensePlatePhoto;

    @Schema(description = "加油照片地址（支持多张）")
    private String fuelingPhotos;

    @Schema(description = "总价", example = "12936")
    private BigDecimal totalPrice;

    @Schema(description = "提交时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] submitTime;

    @Schema(description = "提交人账号")
    private String submitBy;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}